package com.cow.service;

import java.util.List;

import com.cow.pojo.User;
import com.cow.pojo.UserAddress;

/**
 * @author 光环and鬼泣
 * @version 2018年5月24日 上午10:38:07
 */
public interface UserService {

	public int insertUser(User user) throws Exception;

	public User getUser(String userName) throws Exception;

	public User getUserbyId(String userId) throws Exception;

	public int updataUser(User user) throws Exception;

	public int insertUseraddress(UserAddress userAddress) throws Exception;

	public List<UserAddress> getUseraddressList(String userId) throws Exception;

	public int updataUseraddress(UserAddress userAddress) throws Exception;

	public UserAddress getUseraddress(String addressId) throws Exception;
}
